package com.tianluo.tianluobookstore.enums;

public enum UserCodeEnum {

    /**操作成功**/
    USER_NOT_FOUND("0001","用户不存在"),
    PASSWORD_NOT_RIGHT("0002","密码错误"),;

    /**
     * 自定义状态码
     **/
    private final String code;
    /**自定义描述**/
    private final String message;

    UserCodeEnum(String code, String message){
        this.code = code;
        this.message = message;
    }

    public String getCode() {
        return code;
    }
    public String getMessage() {
        return message;
    }
}
